<!--
 * @Author: XIAOXUN\听雨 1396046689@qq.com
 * @Date: 2025-11-25 11:38:32
 * @LastEditors: XIAOXUN\听雨 1396046689@qq.com
 * @LastEditTime: 2025-11-26 16:12:10
 * @FilePath: \music-app-team\pages\index\index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
	<view class="container">
		<Tabs>
			<!-- <template v-slot:my>
				<view>这是我的页面</view>
			</template> -->
			<template v-slot:music>
				<!-- 音乐馆页面组件 -->
				<MusicTabPage></MusicTabPage>
			</template>
			<template v-slot:discover>
				<!-- 发现页组件 -->
				<DiscoverTabPage></DiscoverTabPage>
			</template>
		</Tabs>
	</view>
</template>

<script>
	// 导入组件
	import Tabs from "../../components/Tabs.vue"
	import MusicTabPage from "../../components/MusicTabPage.vue";
	import DiscoverTabPage from "../../components/DiscoverTabPage.vue";
	export default {
		// 注册组件
		components: {
			Tabs,
			MusicTabPage,
			DiscoverTabPage
		},
		data() {
			return {
				href: 'https://uniapp.dcloud.io/component/README?id=uniui'

			}
		},
		methods: {}
	}
</script>

<style lang="scss">
	.container {
		// padding: 20px;
		// font-size: 14px;
		// line-height: 24px;
	}
</style>